/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.commons.web.validate;

import java.lang.annotation.*;

import org.apache.commons.lang3.StringUtils;

/**
 * @author Jasmine
 * @version 1.0
 * @date 2021-01-27 8:42:42
 * @see Rule
 * @since JDK1.8
 */
@Documented
@Target(ElementType.METHOD)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface Rule {

    RuleType type() default RuleType.NULL;

    String[] value() default {};

    String message() default StringUtils.EMPTY;
}
